import { get } from "../utils/request";

/**
 * 获取轮播图数据
 * @returns
 */
export const loadMedicinesAPI = (per = 1000) => get("/medicines", { per });

/**
 * 获取商品分类
 * @returns
 */
export const loadCategoriesAPI = () => get("/medicines/categories");
